package com.byzk.p2p.admin.base.util;

public class JsonMsg {

	private int code;
	private String msg;
	private Object entity;
	
	public JsonMsg(int code, String obj,Object entity) {
		this.code=code;
		this.msg=obj;
		this.entity=entity;
	}
	
	public JsonMsg(int code, String obj) {
		this.code=code;
		this.msg=obj;
	}
	
	public Object getEntity() {
		return entity;
	}
	public void setEntity(Object entity) {
		this.entity = entity;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
}
